package com.sap.jcp.sm.email.util;

import java.io.IOException;
import java.util.Properties;

public class PropertyLoader {
	public static Properties properties = null;
	public PropertyLoader() {
		if (properties == null) {
			properties = new Properties();
			try {
				properties.load(this.getClass().getClassLoader().getResourceAsStream("application.properties"));
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}
	public Properties getProperty() {
		return properties;
	}
}
